import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.SWT;



public class InterfaceUtilisateur extends Shell {


    /**
	 * Create the shell.
	 * @param display
	 */
	public InterfaceUtilisateur(Display display) {
		super(display, SWT.SHELL_TRIM);
		
		Accueil accueil = new Accueil(this, SWT.NONE);
		accueil.setBounds(0, 0, 642, 367);
		createContents();
	}

	/**
	 * Create contents of the shell.
	 */
	protected void createContents() {
		setText("ddh-Pictures");
		setSize(660, 406);

	}

	@Override
	protected void checkSubclass() {
		// Disable the check that prevents subclassing of SWT components
	}
	
	
	/**
	 * Launch the application.
	 * @param args
	 */
	/*public static void main(String[] args) {
		
		Application.setStmt();
		
		Display display = Display.getDefault();
		Shell shell = new Shell();
		shell.setSize(671, 390);
		shell.setText("DDH-Pictures");
		
		Accueil accueil = new Accueil(shell, SWT.NONE);
		accueil.setBounds(0, 0, 642, 367);
				
		shell.open();
		shell.layout();
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}
	}*/
}
